Dissociation of virtual photons in events with a leading proton at HERA