The Attorney General has appointed a former police officer as the next director of the Serious Fraud Office (SFO).