Directed synthesis of organic/inorganic composite structures