Electrically Induced Photonic Transitions In Silicon Waveguides And Resonators