Spectral and magnetic studies of the complexes of praseodymium neodymium and samrium with nitrogen and sulphur donor ligands