Consumer demand and the life-cycle allocation of household expenditures