A methodology for the energy performance classification of residential building stock on an urban scale