Structural investigations of rapidly quenched Gd4Co3 and Gd4Fe3 alloys