Grating and waveguide plasmonic sensors