Exact equations of state for one-dimensional chain fluids