Remote rehabilitation monitoring with an IoT-enabled embedded system for precise progress tracking