Longitudinal modes in diffusion and localization of light