Diffraction by DNA, carbon nanotubes and other helical nanostructures