Analysis of three-dimensional boundary-layer nanofluid flow and heat transfer over a stretching surface by means of the homotopy analysis method