Study of neutrino interactions with the electronic detectors of the OPERA experiment