During which time period did the continents form, life thrived as bacteria in the newly formed oceans, and the atmosphere began to fill with oxygen