Experimental and numerical analysis of Tm2+ excited-states dynamics and luminescence in CaX2 (X = Cl, Br, I)