Unsupervised Anomaly Detection for Smart IoT Devices: Performance and Resource Comparison