Spin-polarized secondary electrons for nondestructive magnetic depth profiling