The weight enumerator of the duals of a class of cyclic codes with three zeros