The locating chromatic number of the join of graphs