Deformation cycles of subduction earthquakes in a viscoelastic Earth