若函数f(x)=(a-2)x2+(a-1)x+3是偶函数,则a=(  )