Classical r-matrix and exchange algebra in WZNW and Toda theories