The transition from agricultural systems to agroecology