Police must investigate so-called non-crime hate incidents so they do not miss “precursors to violence”, one of the UK’s most senior officers has said.