Uber posts $1 billion loss in quarter as growth in bookings slows