Spain advances to first World Cup Finals