Diffusion approximation to neutrino transport in dense matter