Spain wins its first World Cup title