7Be(n,α) and 7Be(n,p) cross-section measurement for the cosmological lithium problem at the n-TOF facility at CERN