Studies on semi-interpenetrating polymer network beads of chitosan–poly(ethylene glycol) for the controlled release of drugs