Photoluminescence and Raman spectroscopy for defect identification in Silicon, Cu(In,Ga)Se_2 and Cu_2ZnSnS_4