Exact ground-state energy of the Ising spin glass on strips