Extraction of interface and border traps in beyond-Si devices by accounting for generation and recombination in the semiconductor