Technical-economical comparison between cogeneration, pellet production and thermal uses of biomass