SPD-Induced Nanocrystallization of Shape Memory Ni2MnGa-Based and NiTi-Based Alloys Quenched from Liquid State