In what war was France defeated by Prussia