US exported millions in masks, ventilators ahead of pandemic