Spatial correlation structures for detections of individuals in spatial capture–recapture models