Wealth distribution and social mobility