Thermodynamics of Phase Selection in MnO2 Framework Structures through Alkali Intercalation and Hydration.