Uber makes first operating profit as driver shortage eases