Flock cameras photograph passing vehicles and help police track cars. Here’s how they work and why communities are pushing back.