Hartman effect and dissipative quantum systems