Numerical studies on a ternary AgInTe2 chalcopyrite thin film solar cell