Refractive Index Sensor Based on Leaky Resonant Scattering of Single Semiconductor Nanowire