Full band-structure theory of resonance tunneling devices