Sub-Bandgap Luminescence from Doped Polycrystalline and Amorphous Silicon Films and Its Application to Understanding Passivating-Contact Solar Cells