Hyperfine spectroscopy and spin dynamics by optical and sublevel coherence