What are the three basic criteria that a society must meet to be considered a democracy?