A poll has found about two thirds of Scots are in favour of energy projects being owned by communities and locally authorities