On vertex-coloring edge-weighting of graphs