Pricing credit derivatives with a copula-based actuarial model for credit risk