A single unit cumulative damage model with correlated damage and repair time