Metal foam heat exchangers for thermal management of fuel cell systems