A two-dimensional modeling of the fine-grained polycrystalline silicon thin-film solar cells