DNS of heat transfer in turbulent and transitional channel flow obstructed by rectangular prisms