Behaviour of the thioamido entity in five-membered rings towards copper(II) chloride and bromide