Disentangling preferences, inertia and learning in brand choice models