In-situ control of molecular beam epitaxial growth by spectral reflectivity analysis