Similarity solution for natural convection flow over an isothermal vertical wall immersed in thermally stratified medium