Manganese is most commonly found in which form when it is extracted from sedimentary or metamorphic rocks?