Numerical design of transonic wings in curvilinear coordinates