Magnetic stray fields in nanoscale magnetic tunnel junctions