Text this: Measuring counterparty credit risk : an overview of the theory and practice