The former chief executive of Alameda Research, the trading company that acted as the vehicle for the multibillion-dollar fraud at crypto exchange FTX, has been given a two-year prison sentence after cooperating with investigators.