Synthesis of polypyrrole–titanium dioxide brush-like nanocomposites with enhanced supercapacitive performance