Scaling transformer neural networks for skillful and reliable medium-range weather forecasting