SMA OBSERVATIONS OF THE W3(OH) COMPLEX: PHYSICAL AND CHEMICAL DIFFERENTIATION BETWEEN W3(H2O) AND W3(OH)