UN chief condemns attack on train in Pakistan that killed at least 28