Shell-model and QRPA treatments of double beta decay