Toyota agrees to pay $1.2 billion fine in criminal fraud case