Thermal optimization of combined heat and power (CHP) systems using nanofluids