Polypyrrole–silver composites prepared by the reduction of silver ions with polypyrrole nanotubes