Evolution of the structural transition in Mo1−xWxTe2