The gradient of the tangent to the curve y=ax3+bx at the point (1,1) is -5. Calculate the values of a and b.