Deformation induced trasformations in B2FeAl and FeRh