Flux pinning due to nonsuperconducting particles in melt processed YBaCuO superconductors