Exploring cosmic origins with CORE: cosmological parameters