Measurement of gradient refractive index profile using a birefringent lens