The life-cycle hypothesis and the effects of social security and private pensions on family savings