Raman study of correlation between defects and ferromagnetism in graphite