why we use divergence theorem