what type of government did france end up with after napoleon and the french revolution?