Millions of Spaniards are set to vote in the snap election, which was called eight months early by the country's prime minister.