A new atom-additive method for calculating partition coefficients