Speedy terahertz-based system could detect explosives