Control of bulk and surface radioactivity in bolometric searches for double-beta decay