In situ measurement of exciton energy in hybrid singlet-fission solar cells