Carrier lifetime in p-doped InGaAs and InGaAsP