Partial esters of alternating copolymers of maleic anhydride and alkyl vinyl ethers for pharmaceutical applications