Elastic-scattering phenomenology by inversion: (I). 12C + 12C from 140 to 2400 MeV