New rare earth-rich aluminides and indides with cubic Gd4RhIn-type structure