Scientists seek ways to measure pain