Modeling AC ripple currents in HTS coated conductors by integral equations