Relationship between local microstructure and superconducting properties of commercial YBa2Cu3O7− δ bulk