Triple-energy solar water heater