Some critical quasilinear elliptic problems with mixed Dirichlet–Neumann boundary conditions: Relation with Sobolev and Hardy–Sobolev optimal constants