Structural analysis and magnetic properties of Gd doped BiFeO3 ceramics