The Centers and Medians of a Graph