Measurement of the neutral to charged current cross section ratios in neutrino and antineutrino nucleon interactions and determination of the Weinberg angle