Direct-inverse transonic wing-design method in curvilinear coordinates including viscous interaction