Optimal location, technology and capacity planning of biogas production and utilization plants