Electronic structure of (SN)x and its intercalate (SNBry)x