Expansion tanks for heating water