On the Diurnal Variation of Cosmic Rays