Divergence measurements for characterization of the micropatterning quality of broad ion beams