EU institutions reach deal on conditions for platform workers