EPR in Gd-doped YBa2Cu3O6+y (0⩽y⩽1): local method to determine oxygen ordering