Simulation of photon-photon interactions in hadron collisions with SHERPA