How did the French Revolution play in Napoleon Bonaparte's favor, allowing him to quickly move up the ranks and eventually declare himself Emperor?