Mohoric wins pulsating Tour de France stage as Roglic routed