Performance limitations of resonant refractive index sensors with low-cost components