American cities struggle with public safety amid police shortage