What the polls got right this year, and where they went wrong