On the Limits of Momentum in Decentralized and Federated Optimization