Electron-beam induced formation of nanoparticle chains and wires from a ruthenium cluster polymer