Flow and heat transfer in a power-law fluid over a nonisothermal stretching sheet