Psychometric and psychophysical theory within a framework of response bias