Scotland’s public sector pensions, which cost £3 billion a year and affect one in five people in the country, face significant cost pressures and major reforms.