Application and validity of the effective medium approximation to the optical properties of nano-textured silicon coated with a dielectric layer.