Diffraction from quasi one‐dimensional crystals and nanotubes