Statistical mechanics of helical wormlike chains. III. Scattering functions