Effects of primitive photosynthesis on Earth's early climate system