Bose–Einstein condensation on product manifolds