Design of active switches using an InxGa1-xAsyP1-y/InP heterostructure