Justices ponder challenges to use of drug-sniffing dogs by police