Exploring cosmic origins with CORE: Cluster science