States declare emergencies over fuel shortages after US pipeline shutdown