The biogeochemistry of manganese and iron reduction in marine sediments