Leveraging smart meter data through advanced analytics: applications to building energy efficiency