README.md: add license information.

Closes #20241.
Closes #20248.