Energy Balance in the Sun-Earth System During the Solar Storm Events of April 2002