A wearable sensor system for automatic food intake detection and energy intake estimation in humans