A Medical IoT-Based Remote Monitoring System: Application on Diabetic Foot