Structural features associated with multiferroic behavior in the RX3(BO3)4 system