Specialization, Productivity and Financing Constraints