Biodegradable dexamethasone polymer capsule for long-term release