Chemical reaction analysis of copper indium selenization