Magnetism and electrode dependant resistive switching in Ca-doped ceramic bismuth ferrite