A method for estimating global subgrid-scale gravity-wave temperature perturbations in chemistry-climate models