Pharmacies say lives are at risk as they run out of medicine