why are the temperatures a long coast lines more moderate then temperatures in land