Joint modelling of latent cognitive mechanisms shared across decision-making domains