VW agrees to buy back diesel vehicles, fund clean air efforts