Comparative analysis of atmospheric and ionospheric variability by measurements of temperature in the mesopause region and peak electron density NmF2