A transformative route to nanoporous manganese oxides of controlled oxidation states with identical textural properties