An approach to the attribution of aging, period, and cohort effects