(2012•福建)等差数列{an}中,a1+a5=10,a4=7,则数列{an}的公差为(  )