ECLM: Efficient Edge-Cloud Collaborative Learning with Continuous Environment Adaptation