Analysis of impact of non-uniformities on thin-film solar cells and modules with 2-D simulations