On the Information Capacity of Nearest Neighbor Representations