Design of district heating networks through an integrated thermo-fluid dynamics and reliability modelling approach