Technical and ecnomic analysis of a cogeneration plant fuelled by biogas produced from livestock biomass