Ab initio studies on structure, vibrational spectra and infrared intensities of HCN, (HCN)2 and (HCN)3