Biobank-Scale Ancestral Recombination Graphs: Inference And Applications To The Analysis Of Complex Traits