Effects of quantization on the electrical characteristics of deep submicron p- and n-MOSFETs