Flavor symmetry, K0–K̄0 mixing and new physics effects on CP violation in D± and D±s decays