Advancements in optical biosensing techniques: From fundamentals to future prospects