A cubic equation of state for polar and other complex mixtures