The response of mesospheric H2O and CO to solar irradiance variability in models and observations