A model of the diurnal variation in lake surface temperature