The electro-optic applications of InP