A Convex Optimization Approach to Thin Airfoil Design