Effect of Gd and Cr substitution on the structural, electronic and magnetic phases of SrRuO3: a case study of doping and chemical phase separation