The shape of magnetic hysteresis curves of YBa2Cu3O7−x single crystals