Curvature invariants for accelerating Kerr–Newman black holes in (anti-)de Sitter spacetime