The Limits to Specialization: Problem solving and coordination in modular networks