Improved formulations, heuristics and metaheuristics for the dynamic demand coordinated lot-sizing problem