Oxygen and ozone in the early Earth's atmosphere