Endogenous Economic Institutions, Wage Inequality, and Economic Growth