Variable loop injector for HPLC