On the nucleation of the martensite transformation