Numerically exact path-integral simulation of nonequilibrium quantum transport and dissipation