A boundary integral method for computing eddy currents in thin conductors of arbitrary topology