A novel thermoeconomic analysis under dynamic operating conditions for space heating and cooling systems