Structure of Kernels and Cokernels of Toeplitz Plus Hankel Operators