MOS transistor threshold voltage generator