Earth-abundant carbon catalysts for renewable generation of clean energy from sunlight and water