Quantum well states in spin-dependent tunnel structures