Thermodynamic equilibrium kinetics of phosphorus and boron doped a-Si:H