Exploitation of animal waste for electricity generation: an application to the Puglia Region (Italy)