A method to determine minority carrier lifetime in GaAs light-emitting diodes