David Kennedy said claims by the force’s former chief constable that Police Scotland is institutionally racist and sexist also had a “negative impact” on officers.