Spin-dependent tunneling in the nearly-free-electron model