Representation of hyperbolic geometry in a self-organized model of grid cells