f(x)=(x+1)(a+x)为偶函数,则a=