Control of nanostructure and pinning properties in solution deposited YBa2Cu3O7−x nanocomposites with preformed perovskite nanoparticles