Law and democracy