Effect of optical f−f excitations on the Nd-Fe exchange interaction in Nd ferroborate with multiferroic properties