Spain's World Cup reign ended by 2-0 loss to Chile