Effects of Y substitution and oxygen deficiency on the superconducting transitions in YxGd1−xBa2Cu3O7−δ