Physics and technology of MOS devices