A cohort analysis of changes in the distribution of wealth