Text this: Demulsification techniques of water-in-oil and oil-in-water emulsions in petroleum industry