Starbucks to close thousands of cafe-only stores, will pay workers