Engineered flux-pinning centers in Bi2Sr2CaCu2Ox and TIBa2Ca2Cu3Ox superconductors