Analysis and optimal design of an ethylene oxide reactor