Enhancing solar cells with photochemical upconversion