A third of U.S. pharmacies have closed since 2010. Among them, both independent and chain pharmacies struggling to make money in the industry.