Text this: Optimal frequency regulation in multi-microgrid systems using federated learning