Coupled electro-thermal modeling and optimization of clock networks