Detecting and identifying termites in a structure