Optimal Structure Design of a Thermosyphon Solar Water Heating System with Thermal and Dynamic Models