James Liang also agrees to cooperate in the U.S. criminal probe into the German automaker's diesel emissions scandal.