Functional integral transformation of the Anderson model into the s-d exchange model