DVFO: Learning-Based DVFS for Energy-Efficient Edge-Cloud Collaborative Inference