Effect of method of preparation and process variables on controlled release of insoluble drug from chitosan microspheres