Martensitic transformations and magnetic-field-induced strains in Ni50Mn50−xGax alloys