During the Helvetic Republic, which forces invaded Switzerland when war broke out between France and its rivals