Measurement of diffusion length in solar cells