Pricing and Hedging credit derivatives with copulas