Defect-induced nonpolar-to-polar transition at the surface of CuInSe2