Controlled growth of exciton–polariton microcavities using in situ spectral reflectivity measurements