Hysteresis in DNA compaction by Dps is described by an ising model