Investigations of magnetic microstructures using scanning electron microscopy with spin polarization analysis