Engineered protein polymers for drug delivery and biomedical applications