Starbucks kommer att stänga hundratals butiker och säga upp personal när kedjan fortsätter att kämpa.