Auto-organisation of hybrid organic–inorganic materials prepared by sol–gel chemistry