Toughening of titanium alloys by twinning and martensite transformation