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