A Queuing Model to Optimize the Performance of Surgical Units