Small-scale biomass-fired cogeneration, pellet production or district heating: new criteria for selecting the most profitable solution