Self-consumption for energy communities in Spain: a regional analysis under the new legal framework