On the upper chromatic number of uniform hypergraphs