Stagnation-point flow of a nanofluid towards a stretching sheet