Residents in a seaside town experience onshore breezes from the ocean during hot sunny days and offshore breezes from the land during cool nights. How does the ocean affect this pattern?