Spin-dependent trapping of electrons at spinterfaces