Critical currents and magnetization decay in oxygen deficient YBa2Cu3O7−δ thin films