Smart polymers as surface modifiers for bioanalytical devices and biomaterials: theory and practice