Magnetoresistance and transistor-like behavior of double quantum dots connected to ferromagnetic and superconductor leads