A smartwatch-based assistance system for the elderly performing fall detection, unusual inactivity recognition and medication reminding