Polyelectrolyte multilayers and capsules: S-layer functionalization for improving stability and biocompatibility