On the clique number of non-commuting graphs of certain groups