Ab initio investigation of chalcogen doped alkali halides