An spectroscopic study of the HCN…HCN and HCN…HNC linear complexes