Design of a spent naphthenic caustic treatment plant for an oil refinery