Theoretical study of electronic spectra of linear carbon clusters HC2nS (n = 1–5)