Development of digital measures for nighttime scratch and sleep using wrist-worn wearable devices