Spin-polarized electronic current in resonant tunneling heterostructures