A solid state device for measuring sensitivity to thermal pain