integral of (1 + cos(x))^2 from -pi to pi