Experimental constraint on quark electric dipole moments