The effect of doping with tantalum on the properties of YBa2Cu3O7-y