Design of biocompatible dendrimers with environment sensitivity