Reducing the risks of drug shortages through competition