MultiResFormer: Transformer with Adaptive Multi-Resolution Modeling for General Time Series Forecasting