Residual phases in a bulk YBa2Cu3O7–x superconductor