Long-Term IoT-Based Maternal Monitoring: System Design and Evaluation