Time Series Forecasting with LLMs: Understanding and Enhancing Model Capabilities