Determination of diamond film quality during growth using in situ Raman spectroscopy