Atomic coherence in nondegenerate four-wave mixing