Heterogeneous Federated Learning via Grouped Sequential-to-Parallel Training