Amplified spontaneous emission. IV. Beam divergence and spatial coherence