Structure, porosity, and redox in porous manganese oxide octahedral layer and molecular sieve materials