Spin separation in digital ferromagnetic heterostructures