A framework for understanding on-farm environmental degradation and constraints to the adoption of soil conservation measures: case studies from highland Tanzania and Thailand