Different types of magnetic ordering in RFe3(BO3)4, R=Gd, Tb, Er, and Y, as studied by the method of Er3+ spectroscopic probe