y=x^2-2ax+1在[1,2]有反函数,a的取值范围怎么算呢?