Numerical prediction of transitional characteristics of flow and heat transfer in a corrugated duct