Resonant tunnelling in Dy- or Gd-doped Al2O3 magnetic tunnel junctions