John Swinney: ‘We can succeed in closing the attainment gap’