Diurnal or Nocturnal? Federated Learning of Multi-branch Networks from Periodically Shifting Distributions