Spain faces political uncertainty after two new movements won nearly a third of the seats in the country's election.