Effect of drug release kinetics on nanoparticle therapeutic efficacy and toxicity.