What caused shortages of goods in the colonies during the american revolution