Spin–charge–orbital structures and frustration in multiferroic RFe2O4