Effects of crude oil characteristics on foaming and defoaming behavior at separator during CO2 flooding