已知二次函数f(x)满足f(0)=0,且对任意x∈R总有f(x+1)=f(x)+x+1,求f(x)