generalized optical theorem