Development of bandgap graded a-SiOx:H solar cells for two-terminal and four-terminal applications