Effect of oppositely charged polymer and dissolution medium on swelling, erosion, and drug release from chitosan matrices