Photocurrent nonlinearities in ultrafast optoelectronic switches