A formation mechanism for the macroparticles in arc ion-plated TiN films