Many people see pensions as having two purposes: funding retirement and providing money to pass on to their partner, children and grandchildren