Macromolecules for drug delivery