Efficient, Accurate, and Flexible PIM Inference Through Adaptable Low-Resolution Arithmetic