integrate i*exp(i*t)/(1+exp(i*t)) on [0,2pi]