The Princess Royal, accompanied by her husband, Vice Admiral Sir Tim Laurence, hosted an event at St James's Palace