Thermodynamics and mechanism of partitioning of pyridylalkanamides in n-octanol/ water and di-n-butyl ether/water