Measurement of the carrier lifetime and linewidth enhancement factor of semiconductor optical amplifiers using their optical modulation responses