The energetics of micelle formation