Analysis of Carbon Policies in the Optimal Design of Domestic Cogeneration Systems Involving Biogas Consumption