Hybrid Navier-Stokes/DSMC Simulations of Gas Flows with Rarefied-Continuum Transitions