Thermodynamic study on the transfer of the tin(II), lead(II) and alkaline-earth-metal ions from water to methanol, dimethyl sulfoxide, acetonitrile, pyridine and N,N-dimethylthioformamide