Gunshot detector pinpoints trouble spots for police