Solid-state electropolymerization and doping of triphenylamine as a route for electroactive thin films.