Theoretical model of a planar waveguide refractive index sensor assisted by a corrugated long period metal grating