Distinguishing photon and polariton lasing from GaAs microcavities by spectral and temporal analysis of the two-threshold behavior