Modelling of solute partitioning and permeation through lipid membranes