Electrostatic interactions for directed assembly of nanostructured materials: composites of titanium dioxide nanotubes with gold nanoparticles