Time-delay model-based control of the glucose-insulin system, by means of a state observer