A double quantum dot spin valve