what is the original source of almost all the energy in most ecosystems?