Demographic risk and financial risk in the maagement of pension funds