Dye-stimulated control of conducting polypyrrole morphology