Effective control of glycemia using a simple discrete-delay model