Comparison of the pn quasiparticle RPA and shell model for Gamow-Teller beta and double-beta decays.