Determination of the switching criterion for metal/tunnel-oxide/N/P+silicon switching devices