The effect of systematic risk factors on counterparty default and credit risk of interest rate swaps