Padraig Harrington has been named Europe's captain for the 2020 Ryder Cup.