Structural evolution of alkaline earth metal stannates MSnO3 (M = Ca, Sr, and Ba) photocatalysts for hydrogen production