Measurement of CP-violating asymmetries in D0→π +π - and D0→K +K - decays at CDF