Evolutionary Mechanics: new engineering principles for the emergence of flexibility in a dynamic and uncertain world