Mixed-effects modelling of signal detection theory