Laser-written nanoporous silicon ridge waveguide for highly sensitive optical sensors