Electrical and optical feedback in an InGaAs/InP light-amplifying optical switch (LAOS)