Integral formulation of the complete electrode model of electrical impedance tomography