Liquid crystal-infiltrated nanocavity and waveguide in deeply etched InP-based photonic crystals