Uruguay beats Ghana 2-0 at World Cup but both teams out