Functional polypyrrole core-shell particles and flexible membranes for biomedical applications