document `template` option of tooltip & popover

Fixes #13088.
CC: @twbs/team for review