Proton and neutron structure functions from antineutrino interactions in deuterium