Numerical analysis of the effect of grain size and defects on the performance of CIGS solar cells