Switching processes in diffused rectifiers—I theory