Stability of silicon based homojunction and heterojunction solar cells under space conditions