Sir John Curtice pinpoints how the Tories fell to its ‘worst electoral performance ever’