What efficient factories get right and how smaller manufacturers can catch up