explain the connection between the coup d’etat of 1799 and the emergence of the consulate