Performances of highly irradiated 3d and planar pixel sensors interconnected to the RD53A readout chip