Spatial gradients enhance persistence of hypercycles