Text this: Optimization and chemical demulsification of crude oil emulsions