Legal Provisions and Market Conditions for Energy Communities in Austria, Germany, Greece, Italy, Spain, and Turkey: A Comparative Assessment