Fine properties of the curvature of arbitrary closed sets