Rohan Dennis claimed victory time trial to take the overall lead after the second stage of the Eneco Tour.