Wearable sensor helps people keep tabs on drinking