Calculation of photoelectron spectra of chloromethanes