A copula model for marked point processes