Prince Harry and Duchess Meghan have accepted an award for taking a stance against "structural racism" in the Royal Family.