John Curtice explains why a clear prediction of the referendum result proved so elusive for many pollsters.