Memory effects in functionalized conducting polymer films: titanocene derivatized polypyrrole in contact with THF solutions