Trentin wins stage 7 of the Tour de France