Heating, cooling buildings using the sea