Habit formation: implications for the wealth distribution