Energy analysis to assess the environmental sustainability of the dairy chain