ENH: added optional caption and label arguments to DataFrame.to_latex()
- [x] closes #25436 
- [x] tests added / passed
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew entry
