Massive thermal detector for alpha and gamma spectroscopy