Optical microcavity characterization via resonance spectra and modes