The chief constable of Devon and Cornwall Police has described an undercover TV report unveiling racism and misogyny in a different force as "truly shocking".