Letters show officials knew of danger posed by ammonium nitrate cargo at Beirut port six years before deadly blast.