Deformation effects in the12C-12C system