Search for gamma-ray signals from dark matter annihilation or decay at the Draco dwarf galaxy and the Galactic halo with MAGIC