Smart cities and Municipal Building Regulation for energy efficiency