Renormalization scheme dependence in e+e− annihilation and τ-lepton decay at the next-to-next-to-leading order of perturbative QCD