Simulations of water vapor in the lower stratosphere and upper troposphere