Experimental and computational study of Polyyne and Cumulene chains interacting with carbon allotropes and metal nanoparticles.