The influence of metastable oxygen molecules on ozone and airglow