On-chip electro-optic frequency shifters and beam splitters