Model Predictive Control for a Heat Pump System with Thermal Storage Tanks: Economical Operation and Demand-Side Management