Optimal design of multi-energy systems with seasonal storage