Energy Balance In Planetary Thermospheres: A Focus On Earth And Venus