Inert gas elimination from lungs with stratified inhomogeneity: Theory