Wage endogeneity, tax evasion, and optimal nonlinear income taxation