The BiPo detector for ultralow radioactivity measurements