Unified Locomotion Transformer with Simultaneous Sim-to-Real Transfer for Quadrupeds