Event-by-event fluctuations of mean transverse momentum in Pb-Pb and Xe-Xe collisions with ALICE