(2010•上海)已知函数f(x)=ax2+2x是奇函数,则实数a=______.