The degree of the tangent and secant variety to a projective surface