Electro-optic Y-junction modulator/switch