f(x)=(loga(x))^2-2loga(x)在区间[1/2,2]为减函数,求a的取值范围