Discrimination designs for polynomial regression on compact intervals