Machine Learning-assisted Cluster-based Routing Protocol for Wireless Smart Grids