Functions of Demulsifiers in the Petroleum Industry