Defects and stress analysis of the Raman spectrum of diamond films