Bayesian thresholds mixed-effects models for categorical data