Electron transport in magnetic tunnel junctions -- a theoretical study of lattice and continuum models