process of manganese smelting