Pātuhitia tēnei: Counterparty credit risk and credit value adjustment