The role of community energy in mediating the sustainable energy transition