Thermal optimization of defected Cu2O photon-absorbing layer and the steady p-Cu2O/n-Si photovoltaic application