Vertical profiles of molecular H2 and CH4 in the stratosphere