Functionalizing inorganic solids: towards organic-inorganic nanostructured materials for intelligent and bioinspired systems.