NURBS-based and parametric-based shape optimization with differentiated CAD kernel