A theoretical study of proton transfer to excited state HCN