Light confinement in photonic-crystal microcavities : A Fabry-Perot point of view