An ab initio study of the electronic structure and relative stability of the halogenated thiophosphorus compounds SPX (X = Cl, F, Br) and their isomers