Exact-diagonalization study of thermoelectric response in strongly correlated electron systems