High-accuracy determination of the neutron flux at n_TOF