The effect of residual carbon on the superconducting properties of YBa_2Cu_3O_7−x powders