Analysis and applications of NDR characteristics in single-electron transistor