Defect physics of the CuInSe2 chalcopyrite semiconductor