The $S$-diagnostic -- an a posteriori error assessment for single-reference coupled-cluster methods