Heusler nanoparticles for spintronics and ferromagnetic shape memory alloys