Structural and magnetic properties of RuSrGdCu2O8