A wearable sensor system for automatic detection, characterization and modification of eating behaviour