Synthesis and preparation of biocompatible and pH-responsive cyclodextrin-based nanoparticle