Characterization and modeling of defects generated in pseudoelastically deformed NiTi microcrystals