Study of One-Dimensional Quantum Spin Systems by the Transfer-Matrix Method