Thurstonian models for sensory discrimination