Measurements of ionospheric and thermospheric temperatures and densities with the middle and upper atmosphere radar