Effects of traps on the dark current transients in GaAs/AlGaAs quantum-well infrared photodetectors