Output regulation by error dynamic feedback in hybrid linear systems with state jumps