SπRIT: A time-projection chamber for symmetry-energy studies