Impact Ionization and Photon Emission in MOS Capacitors and FETs