Electric dipole moment function and line intensities for the ground state of carbon monxide