Degradation of the diode ideality factor of silicon n–p junctions