LP2PB: Translating Answer Set Programs into Pseudo-Boolean Theories