It's human nature to want to talk to the cops. Whether its to convince them you did nothing wrong or to explain why you did it.
You would be surprised how "rampant" and disturbing what I've described is. My first 5 years of practice I was a criminal defense atty. Police officers do not want to be questioned and once they believe a certain person is guilty of a crime they often focus on that person without looking at exculpatory evidence. They also do stuff that is unlawful under the belief-"so what the guy did the crime so anything I can do to help convict the person is fair game". As a defense atty your job is to make sure that is brought to light not only for your client but if unchecked would obviously lead to innocent people being charged and prosecuted. In the long run good defense attys make police do better work ! One of my partners was at the head of the line for homicide defense lawyers in this state. He wrote a book on how to conduct a lawful search and seizure of a suspect. That book is still used by prosecutors in teaching good cops how to conduct themselves so that their cases will always have the evidence and w/o fear of it being tossed out.