Density functional theory study of NEXAFS spectra of 4-methylbenzenethiol molecule