High-Resolution Image Synthesis via Next-Token Prediction