what were two effects of the agricultural revolution that took place during the middle ages