The Scottish Parliament has placed itself “at the very heart of the nation”, First Minister John Swinney will say as he joins the King and Queen at a ceremony to mark 25 years of devolution at Holyrood.