Constant mean curvature surfaces in M2 × R