A Nonlinear Microresonator Refractive Index Sensor