Two stages of B-cell memory development with different T-cell requirements