Adaptation in Food Networks: Theoretical Framework and Empirical Evidences