Daimler agrees to U.S. diesel settlements worth nearly $3 billion