A two-component model of the diurnal variations in the thermospheric composition