Improving safety and operational efficiency in residential care settings with WiFi-based localization