Data-driven model predictive control with regression trees-an application to building energy management