Self temperature referenced refractive index sensor by non-uniform thinned fiber Bragg gratings