Cavendish takes 24th Tour de France stage win in Marseille