Shape sensitivity in mixed Dirichlet-Neumann boundary-value problems and associated class of path-independent integrals