Synthesis and spectral properties of 1,4- and 1,3-pentadiynes