Dipole moment and hyperfine properties of the ground state and the C–H excited vibrational state of HCN