Solar cells and optical fibers