Exploiting Dynamic Voltage and Frequency Scaling in Networks on Chip