A three-dimensional image reconstruction algorithm for electrical impedance tomography using planar electrode arrays