Gemcat: A general multivariate methodology for estimating catastrophe models