Andres Iniesta struck a dramatic winner late in extra-time as Spain won the World Cup for the first time but condemned the Netherlands to their third final defeat.