Shortages are hampering the production of essential medicines