IoT-based wearable health monitoring device and its validation for potential critical and emergency applications