Greenhouse gas emissions reduction in an Italian medium size town according to the European Directive