Optimal Design of Multi-Energy Systems at Different Degrees of Decentralization