Electric-field effect on transport and superconducting properties of YBa2Cu3O7−x