Recent Development of Resonance-Based Optical Sensors and Biosensors