If rolled out at scale, microgrids would offer an opportunity for the UK to take a lead in the energy transition, writes Eduardo Monteiro