Fluid flow and heat transfer in a two-dimensional wavy channel