Simultaneous measurements of refractive index and temperature by non-uniform thinned fiber bragg gratings