Beta spectroscopy with a large-area avalanche photodiode module and a plastic scintillator