Trading-Off Programming Speed and Current Absorption in Flash Memories with the Ramped-Gate Programming Technique