Structural aspects and magnetic behaviour of NbS2 and TaS2 containing extra metal atoms of the first transition series