Nanostructure research by small-angle X-ray scattering: from instrument design to new insights in materials sciences