how does biomass generate electricity