Photovoltaic measurement of bandgap narrowing in moderately doped silicon