Ternary diffusion and effective diffusion coefficients in alveolar spaces