Active nondestructive assay of nuclear materials: principles and applications