Spanish voters head to the polls on Sunday for snap general elections after right-wing parties rejected the government's housing crisis legislation.