The Steiner Problem on Closed Surfaces of Constant Curvature