The number of rail passengers claiming compensation for delayed or cancelled services has reached record highs.