When did Demetrius seize the Macedonian throne