Thomas stuns peloton with Dauphine stage win