Connected colorings of graphs