Device simultaneous determination of the source and cavity parameters of a microcavity light-emitting diode