Impact of transit-time and capture effects on high-frequency performance of multiple quantum-well infrared photodetectors