Early oxygenation of the terrestrial environment during the Mesoproterozoic