Resonance Raman contribution to the D band of carbon materials: modelling defects with quantum-chemistry