New research finds sweatshops may be a necessary evil in the development of economies