Mixed boundary value problems for the Navier-Stokes system in polyhedral domains