Explicit bounds for the Łojasiewicz exponent in the gradient inequality for polynomials