Spain qualifies for FIFA 2018 World Cup