Functional synthetic and semisynthetic polymers in biomedical applications