Generation of correlated and anticorrelated multiple fields via atomic spin coherence