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

Also document xtol and xatol for underlying solvers.

Closes #2859 and replaces PR #2881.