Structural, magnetic, and dielectric studies on rare earth substituted bismuth titanate Bi2R2Ti3O12 (R = Nd, Sm, Eu, Gd)