Controlling centrality in complex networks