Designing and Testing a Chemical Demulsifier Dosage Controller in a Crude Oil Desalting Plant: An Artificial Intelligence-Based Network Approach