On the oscillating electric dipole moment induced by axion-fermion couplings