Neutrino capture cross sections for 40Ar and β-decay of 40Ti