Analysis of greenhouse gas emissions in the European Union member states with the use of an agglomeration algorithm