CP Violation in D Decays to two Pseudoscalars: An SM-based Calculation