Horizontal and vertical flow pack packaging machines for bakery, chocolate, coffee, and other food products