Integral equation methods for electromagnetics