Design of actively controlled heat exchangers using topology optimization