Analysis and simulation of a two-phase self-pumping solar water heater