Performance analysis and optimum design of a heat exchanger for waste heat recovery