99.9% of the time, I simply call them by their first name.
I know almost all the police I talk to, and 99.9% of the conversations have nothing to do with me breaking a law. Most of the time it's something like, "what's up? How many miles did you get in on the bike yesterday when I saw you?"
The other .1% of the time, it's officer or sir.