Forward action to make time-delay systems positive-real or negative-imaginary