Heat transfer in a turbulent channel flow with super-hydrophobic or liquid-infused walls