Coherent elastic neutrino-nucleus scattering at the European Spallation Source