Multiscale modeling of silicon heterojunction solar cells