Growth of diamond films: General correlation between film morphology and plasma emission spectra