Gauging SL(2,R) and SL(2,R) ×U(1) by Their Nilpotent Subgroups