BUG: warn that bounded method in minimize_scalar does no support relative tolerance

Only issue the warning if the tol parameter is given.