Charles has addressed Holyrood to mark the 25th anniversary of the reconvened Scottish Parliament.