Near-Maximum Entropy Models for Binary Neural Representations of Natural Images