On D0−D0 mixing and CP violation