The Duke and Duchess of Cambridge have been taken on a guided tour of a Nazi concentration camp where tens of thousands of people died.