Competing accommodation mechanisms of the martensite in nanocrystalline NiTi shape memory alloys