Analytical Analysis of Side-Polished Plastic Optical Fiber as Curvature and Refractive Index Sensor