New method of polypyrrole functionalization toward molecular recognition