Stratospheric trace gas analysis from ions: H2O and HNO3