Simultaneous measurement of thickness and refractive index using phase shifted Coherent Gradient Sensor