Voting closes in Spain, with polls suggesting a nail-biter result