The molecular structure and spectral studies of mercaptopyridyl-based ligands