DuPont takes $2.5 billion charge tied to auto business, posts wider loss