In a coordinate plane, point A is located at (2, 3) and point B is located at (5, 7). What is the midpoint M of the line segment connecting points A and B?