The thin blue line of policing is being "dangerously stretched" because of a homeless and mental health crisis, racial and religious disharmony, and criminals' use of new technology, according to Britain's top cop.