Mainstreaming Energy Communities in the Transition to a Low-Carbon Future: A Methodological Approach