Steph Curry hit 37 points and was on fine form from outside the three-point line as the Warriors beat Memphis.