Machine learning and deep learning-based anomaly detection for electric vehicle charging infrastructure and industrial internet of things