Panama out of World Cup after narrow loss to Croatia