Dictators and other heads of state have been accused of laundering money, avoiding sanctions and evading tax, according to the unprecedented cache of papers that show the inner workings of the law firm Mossack Fonseca, which is based in Panama.