Correlation Between Crystal Structure and Superconducting and Magnetic Properties in RESr2RuCu2O8 (RE = Gd, Nd) Ruthenocuprate Materials