Design of an Integrated Optical Switch Based on Liquid Crystal Infiltration