Chitosan nanogels by template chemical cross-linking in polyion complex micelle nanoreactors.