Structural response of A2TiO5 (A = La, Nd, Sm, Gd) to swift heavy ion irradiation