Nature of hardness evolution in nanocrystalline NiTi shape memory alloys during solid-state phase transition