Free energy and boundary anomalies on Sa×ℍb$$ {\mathbb{S}}^a \times {\mathrm{\mathbb{H}}}^b $$ spaces