X-ray spectra and electronic structure of carbon bisulfide molecule