Cohomology rings of Artin groups