Solar cells for smart window applications