Discretized disorder in planar semiconductor microcavities: Mosaicity effect on resonant Rayleigh scattering and optical parametric oscillation