UK law firms including Clifford Chance, Freshfields and Farrer & Co have apologised for historic links to the slave trade and British imperialism following research by Law.com International.