Theoretical potential energy and electric dipole moment functions of HCF (X 1A’ and a 3A‘)