On the diurnal variation of the thermopause temperature