若函数y=asin(2x+π/4)+cos(2x+π/4)是偶函数,则实数a=