MechaFormer: Sequence Learning for Kinematic Mechanism Design Automation