已知函数f(x)=logax(a>0且a不等于0) 若函数f(x)zai [2,3]上的最大值与最小值得和为2,求a的值