Log-linear multidimensional Rasch model for capture-recapture