Characterization of tips for spin-polarized scanning tunneling microscopy